﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCFMINERP.COM;

namespace WCFMINERP.DownLoad
{
   public class HelpClass
    {
       private static string namespaces = "WCFMINERP.DownLoad";
        /// <summary>
        /// 保存文件路径
        /// </summary>
        public static string SaveFilePath
        {
            get
            {
                string Name = IniFile.Ini.IniReadValue(namespaces, "SaveFilePath");
                if (string.IsNullOrEmpty(Name))
                {
                    return "";
                }
                else
                {
                    return Name;
                }
            }
            set
            {
                IniFile.Ini.IniWriteValue(namespaces, "SaveFilePath", value.ToString());
            }
        }

        public static string ShopID
        {
            get
            {
                string Name = IniFile.Ini.IniReadValue(namespaces, "ShopID");
                if (string.IsNullOrEmpty(Name))
                {
                    return "";
                }
                else
                {
                    return Name;
                }
            }
            set
            {
                IniFile.Ini.IniWriteValue(namespaces, "ShopID", value.ToString());
            }
        }
    }
}
